package day1112;

import java.util.Scanner;

public class v7 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("输入成绩");
        int num = sc.nextInt();  // 读取用户输入的值并赋给num变量

        if(num>=90) {
            System.out.println("A");
        }else if (num>=80){
            System.out.println("B");
        }else if (num>=70)
        {
            System.out.println("C");
        }else if (num>=60)
        {
            System.out.println("D");
        }else {
            System.out.println("E");
        }
    }
}
